#pragma once

class App;

void	engineMain(App*	app);


class	Listener;

class bEngine{
public:
	bool	leftClicked;
	bool	rightClicked;
	virtual bool	boot(App* app){return true;};
	virtual void	render(){};
	virtual void	step(){};
	virtual void	shutdown(){};
};

extern	bEngine*	gEngine;

extern	int		engineMouseX;
extern	int		engineMouseY;

vec3	engineGetPickRay(int	x,int	y);
void	engineDoPicking();
